package com.yht.redbook.user.dto.req;

import com.yht.framework.common.validator.PhoneNumber;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户注册
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterUserReqDTO {

    @NotBlank(message = "手机号不能为空")
    @PhoneNumber
    private String phone;

}
